﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace Zhaoxi.SqlSugar.Models
{
    public class ULockEntity
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        public string? Name { get; set; }
        [SugarColumn(IsEnableUpdateVersionValidation = true)]//标识版本字段
        public long Ver { get; set; }

        //支持Guid long string DateTime (不推荐DateTime 时间有精度问题)
        //推荐用 string guid  （使用long要序列化成strting不然前端精度丢失）
    }
}
